
import { AdminRoute } from "@/types/layout";
import { Login } from "@/types/login";
import { get } from "@/utils/request";

/**
 * 获取动态路由
 * @returns
 */
export const queryRouter = () => get<AdminRoute>(`/queryRouter`);
/**
 * 获取用户信息
 * @returns
 */
export const queryUserInfo = () => get<Login.UserInfo>(`/getInfo`);